package com.gcs.application.gui.actions;

import org.eclipse.jface.action.Action;

import com.gcs.application.gui.Activator;
import com.gcs.application.gui.views.LogView;

public class ClearLogAction extends Action {
	private static final String ID = ClearLogAction.class.getName();
	
	public ClearLogAction() {		
		this.setId(ID);
		this.setActionDefinitionId(ID);		
		this.setImageDescriptor(Activator.getImageDescriptor("icons/clear.gif"));
	}
	
	@Override
	public void run() {		
		LogView.textLog.setText("");
	}	
}
